//
// Created by root on 16-9-13.
//

#include <stdio.h>
#include "stddef.h" //

size_t
strlen(char const *string)
{
    int length;
    for (length = 0; *string++ != '\0'; ) {
         length += 1;
    }

    return length;
}

void main()
{
    char *sayHello = "HelloMyName";
    printf("==%d==\n", strlen(sayHello));
}